//
//

import Foundation
import UIKit

public extension NSObject {
    /// The class's name
    class var my_className: String {
        return NSStringFromClass(self).components(separatedBy: ".").last! as String
    }
    
    /// The class's identifier, for UITableView，UICollectionView register its cell
    class var my_identifier: String {
        return String(format: "%@_identifier", self.my_className)
    }
}
